﻿using Abp.Domain.Entities.Auditing;
using SingleUserMall.Authorization.Users;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SingleUserMall.Refunds
{
    public class RefundLog : FullAuditedEntity<long>
    {
        /// <summary>
        /// 退款id
        /// </summary>
        public long RefundId { get; set; }
        [ForeignKey("RefundId")]
        public virtual Refund Refund { get; set; }
        /// <summary>
        /// 用户id
        /// </summary>
        public long UserId { get; set; }
        [ForeignKey("UserId")]
        public virtual User User { get; set; }
        /// <summary>
        /// 内容
        /// </summary>
        [MaxLength(200)]
        public string Content { get; set; }
        /// <summary>
        /// 是否卖家
        /// </summary>
        public bool IsSeller { get; set; }
    }
}
